package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.SysStock;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SysStockMapper {
    int deleteByPrimaryKey(Long stockId);

    int insert(SysStock record);

    int insertSelective(SysStock record);

    SysStock selectByPrimaryKey(Long stockId);

    int updateByPrimaryKeySelective(SysStock record);

    int updateByPrimaryKey(SysStock record);

    int updateBatch(List<SysStock> list);

    int batchInsert(@Param("list") List<SysStock> list);

    List<SysStock> selectStockList(SysStock stock);
}